package com.mobzilla.model;

import java.util.Date;
import java.util.List;

import com.google.gson.annotations.SerializedName;

public class ChangeSet {

	@SerializedName("changer")
	private User changer;

	@SerializedName("changes")
	private List<Change> changes;

	@SerializedName("change_time")
	private Date changeTime;

	public User getChanger() {
		return changer;
	}

	public void setChanger(User changer) {
		this.changer = changer;
	}

	public List<Change> getChanges() {
		return changes;
	}

	public void setChanges(List<Change> changes) {
		this.changes = changes;
	}

	public Date getChangeTime() {
		return changeTime;
	}

	public void setChangeTime(Date changeTime) {
		this.changeTime = changeTime;
	}

	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("ChangeSet[");
		builder.append("changer = ").append(changer);
		builder.append(" changes = ").append(changes);
		builder.append(" changeTime = ").append(changeTime);
		builder.append("]");
		return builder.toString();
	}
}
